package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入住管理对象 check_info
 * 
 * @author 王帅
 * @date 2024-08-24
 */
public class CheckInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 入住人 */
    @Excel(name = "入住人")
    private String checkInPerson;

    /** 入住人电话 */
    @Excel(name = "入住人电话")
    private String checkInPersonPhone;

    /** 入住房间 */
    @Excel(name = "入住房间")
    private Long checkInRoom;

    /** 入住房间号 */
    @Excel(name = "入住房间号")
    private String checkInRoomNumber;

    /** 入住时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDatetime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDatetime;

    /** 入住状态 */
    @Excel(name = "入住状态")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCheckInPerson(String checkInPerson) 
    {
        this.checkInPerson = checkInPerson;
    }

    public String getCheckInPerson() 
    {
        return checkInPerson;
    }

    public void setCheckInPersonPhone(String checkInPersonPhone) 
    {
        this.checkInPersonPhone = checkInPersonPhone;
    }

    public String getCheckInPersonPhone() 
    {
        return checkInPersonPhone;
    }

    public void setCheckInRoom(Long checkInRoom) 
    {
        this.checkInRoom = checkInRoom;
    }

    public Long getCheckInRoom() 
    {
        return checkInRoom;
    }

    public void setCheckInRoomNumber(String checkInRoomNumber) 
    {
        this.checkInRoomNumber = checkInRoomNumber;
    }

    public String getCheckInRoomNumber() 
    {
        return checkInRoomNumber;
    }

    public void setCreateDatetime(Date createDatetime) 
    {
        this.createDatetime = createDatetime;
    }

    public Date getCreateDatetime() 
    {
        return createDatetime;
    }

    public void setUpdateDatetime(Date updateDatetime) 
    {
        this.updateDatetime = updateDatetime;
    }

    public Date getUpdateDatetime() 
    {
        return updateDatetime;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkInPerson", getCheckInPerson())
            .append("checkInPersonPhone", getCheckInPersonPhone())
            .append("checkInRoom", getCheckInRoom())
            .append("checkInRoomNumber", getCheckInRoomNumber())
            .append("createDatetime", getCreateDatetime())
            .append("updateDatetime", getUpdateDatetime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .toString();
    }
}
